<admintpl file="headerEx" />
<title>第三方用户列表</title>
<!--responsive table-->
<link href="__PUBLIC__/TciocEx/css/table-responsive.css" rel="stylesheet" />
</head>

<!-- Placed js at the end of the document so the pages load faster -->
<body class="sticky-header">
<section>
	<!-- main content start-->
	<div class="full-content" >
		<!--body wrapper start-->
		<div class="wrapper">
			<div class="row">
				<div class="col-sm-12">
					<section class="panel">
						<header class="panel-heading custom-tab turquoise-tab">
							<ul class="nav nav-tabs">
								<li>
								<a  href="{:leuu('User/Indexadmin/index')}">
									<i class="fa fa-list-ul"></i> {:L('USER_INDEXADMIN_INDEX')}
								</a>
								</li>
								<li class="active" >
								<a  href="{:leuu('User/oauthadmin/index')}">
									<i class="fa fa-list-alt"></i> {:L('USER_OAUTHADMIN_INDEX')}
								</a>
								</li>
							</ul>
						</header>
						<div class="panel-body">
							<section id="no-more-tables">
								<table class="table table-bordered table-striped table-hover table-condensed cf">
									<thead class="cf">
									<tr>
										<th align="center">ID</th>
										<th>{:L('USER_FROM')}</th>
										<th>{:L('USERNAME')}</th>
										<th>{:L('AVATAR')}</th>
										<th>{:L('BINGDING_ACCOUNT')}</th>
										<th>{:L('FIRST_LOGIN_TIME')}</th>
										<th>{:L('LAST_LOGIN_TIME')}</th>
										<th>{:L('LAST_LOGIN_IP')}</th>
										<th>{:L('LOGIN_TIMES')}</th>
										<th align="center">{:L('ACTIONS')}</th>
									</tr>
									</thead>
									<tbody>
									<php>$user_statuses=array("0"=>L('USER_STATUS_BLOCKED'),"1"=>L('USER_STATUS_ACTIVATED'),"2"=>L('USER_STATUS_UNVERIFIED'));</php>
									<volist name="lists" id="vo" empty="没有找到符合条件的数据！">
										<tr>
											<td align="center">{$vo.id}</td>
											<td>{$vo['from']?$vo['from']:($vo['mobile']?$vo['mobile']:L('THIRD_PARTY_USER'))}</td>
											<td>{$vo['name']?$vo['name']:L('NOT_FILLED')}</td>
											<td><img width="25" height="25" src="{$vo.head_img}" /> </td>
											<td>{$vo['uid']|default='无'}</td>
											<td>{$vo['create_time']}</td>
											<td>{$vo['last_login_time']}</td>
											<td>{$vo.last_login_ip}</td>
											<td>{$vo.login_times}</td>
											<td align="center">
												<!--<neq name="vo.id" value="1">-->
													<!--<a href="{:U('indexadmin/ban',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="{:L('BLOCK_USER_CONFIRM_MESSAGE')}">{:L('BLOCK_USER')}</a>|-->
													<!--<a href="{:U('indexadmin/cancelban',array('id'=>$vo['id']))}" class="js-ajax-dialog-btn" data-msg="{:L('ACTIVATE_USER_CONFIRM_MESSAGE')}">{:L('ACTIVATE_USER')}</a>|-->
													<!--<a href="{:U('indexadmin/edit',array('id'=>$vo['id']))}" >{:L('EDIT_USER')}</a>-->
													<!--<a href="{:U('oauthadmin/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>-->
													<!--<else/>-->
													<!--<a style="color: #ccc;">{:L('BLOCK_USER')}</a>|-->
													<!--<a style="color: #ccc;">{:L('ACTIVATE_USER')}</a>-->
													<!--<a href="{:U('indexadmin/edit',array('id'=>$vo['id']))}" >{:L('EDIT_USER')}</a>-->
													<!--<a href="{:U('oauthadmin/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>-->
												<!--</neq>-->
												<a href="{:U('oauthadmin/delete',array('id'=>$vo['id']))}" class="js-ajax-delete">{:L('DELETE')}</a>
											</td>
										</tr>
									</volist>
									</tbody>
								</table>
							</section>
							<div class="col-md-12 text-center clearfix">
								{$page}
							</div>
						</div>
					</section>
				</div>
			</div>
		</div>

	</div>
	</div>
	</div>
	<!--body wrapper end-->

	<!--footer section start-->
	<footer>
		<admintpl file="copyright" />
	</footer>
	<!--footer section end-->

	</div>
	<!-- main content end-->
</section>

<script src="__PUBLIC__/TciocEx/js/jquery-1.10.2.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-ui-1.9.2.custom.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery-migrate-1.2.1.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/bootstrap.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/modernizr.min.js"></script>
<script src="__PUBLIC__/TciocEx/js/jquery.nicescroll.js"></script>

<!--common scripts for all pages-->
<script src="__PUBLIC__/TciocEx/js/scripts.js"></script>

</body>
</html>